package com.ruoyi.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.Upplier;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 供货单位 Mapper 接口
 * </p>
 */
@Component
public interface UpplierMapper extends BaseMapper<Upplier> {
    /**
     * 查询【供货单位】列表
     */
    public List<Upplier> selectUpplierList(Upplier upplier);

    /**
     * 新增【供货单位】
     */
    public int insertUpplier(Upplier upplier);
    /**
     * 删除【供货单位】
     */
    public int deleteUpplierBySupplierid(Long supplierid);

    /**
     * 批量删除【供货单位】
     */
    public int deleteUpplierBySupplierids(Long[] supplierids);

}
